<!DOCTYPE html>

<html lang="en">
  <head>
      <meta charset="UTF-8">
      <title>Title</title>
      <link rel="stylesheet" href="/bootstrap/css/bootstrap.css">
      <link rel="stylesheet" href="/font-awesome/css/font-awesome.css">
      <link rel="stylesheet" href="/styles/sign.css">
  </head>
  <body>
      <div class="row sign">
        <div class="col-6 sign-logo"></div>
        <div class="col-6 sign-form">
          <p class="title">新用户注册</p>
          <p class="tip">${message}</p>
          <c:remove var="message" scope="session" />
          <form action="/customer/sign/up" method="post">
            <div class="form-row">
              <i class="fa fa-star-o"></i>
              <input type="text" name="nickname" value="${nickname}" placeholder="昵称" autocomplete="no">
            </div>
            <div class="form-row">
              <i class="fa fa-user-o"></i>
              <input type="text" name="username" value="${username}" placeholder="登录名称" autocomplete="no">
            </div>
            <div class="form-row">
              <i class="fa fa-keyboard-o"></i>
              <input type="password" name="password" placeholder="登录密码" autocomplete="no">
              <i class="fa fa-eye"></i>
            </div>
            <div class="form-row">
              <i class="fa fa-keyboard-o"></i>
              <input type="password" name="confirm" placeholder="确认密码" autocomplete="no">
            </div>
            <div class="form-row-captcha">
              <input type="text" name="captcha" placeholder="验证码" autocomplete="no">
              <img src="/captcha/image/sign/up">
            </div>
            <script src="/scripts/captcha.js"></script>
            <div class="form-row">
              <button type="submit" class="btn btn-primary btn-sm">注册</button>
            </div>
          </form>
          <p class="link">已有账号？<a href="">点此登录</a></p>
        </div>
      </div>
  </body>
</html>